import request from '@/utils/request'

// 查询用户
export function getuser() {
  return request({
    url: '/system/index/dataUser',
    method: 'get',
  })
}

// 查询用户
export function getshebei() {
    return request({
      url: '/system/index/dataSbEquipment',
      method: 'get',
    })
}

// 查询预约服务
export function getyuyue() {
    return request({
      url: '/system/index/dataOrder',
      method: 'get',
    })
}

// 查询年龄占比
export function getzhanbi(query) {
    return request({
      url: '/system/index/dataChart',
      method: 'get',
      params: query
    })
}

// 查询那女占比
export function getdataSex(query) {
    return request({
      url: '/system/index/dataSexProportion',
      method: 'get',
      params: query
    })
}
